all: matrix_test vector_test

#CC=icpc
#flags=-fast
CC = g++ 
#flags= -O3 #-g
#gsl= -DGSL -lgsl -lgslcblas -lm

vector_test: vector_test.cpp vector.h vector_inl.h base.h base_inl.h
	$(CC) $(flags) vector_test.cpp -o vector_test
matrix_test: matrix_test.cpp matrix.h matrix_inl.h base.h base_inl.h
	$(CC) $(flags) matrix_test.cpp -o matrix_test $(gsl)

clean:
	/bin/rm -f a.out vector_test test_printf.dat matrix_test
